package com.gucheng.springframework.test.bean;

import java.util.HashMap;
import java.util.Map;

public class UserDao {
    private static Map<String,String> hasMap = new HashMap<>();

    static {
        hasMap.put("10001","张三");
        hasMap.put("10002","李四");
        hasMap.put("10003","王五");
    }

    public String queryUserName(String uId){
        return hasMap.get(uId);
    }
}
